package com.zsc.wxapp.entity.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 所有用户信息返回类
 * 有些数据为空
 * 按照用户类型判断
 */
@Data
@Builder
public class UserInfoVO {

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "许可证号")
    private String licenseCode;

    @ApiModelProperty(value = "客户uuid")
    private String custUuid;

    @ApiModelProperty(value = "客户编码")
    private String custCode;

    @ApiModelProperty(value = "店铺名称")
    private String custName;

    @ApiModelProperty(value = "经营地址")
    private String address;

    @ApiModelProperty(value = "雪茄烟档位")
    private String cigarGrade;

    @ApiModelProperty(value = "许可证有效期止")
    private String licenseEndDate;

    @ApiModelProperty(value = "店铺类型")
    private String busiPlace;

    @ApiModelProperty(value = "维护次数")
    private Integer maintenanceTimes;

    @ApiModelProperty(value = "任务提交次数")
    private Integer taskSubmitTimes;

    @ApiModelProperty(value = "打印服务次数")
    private Integer printServiceTimes;

    @ApiModelProperty(value = "vip剩余天数")
    private Integer vipRemainDays;

    @ApiModelProperty(value = "vip奖励天数")
    private Integer vipRewardDays;

    @ApiModelProperty(value = "拍照次数")
    private Integer photoTimes;

    /**
     * 以下为管理员的数据
     */
    @ApiModelProperty(value = "用户姓名")
    private String name;

    @ApiModelProperty(value = "岗位")
    private String position;

    @ApiModelProperty(value = "用户头像")
    private String profilePhotoUrl;

    @ApiModelProperty(value = "客户总数")
    private Integer customerNum;

    @ApiModelProperty(value = "已采集户数")
    private Integer collectedCustomerNum;

    @ApiModelProperty(value = "采集覆盖率")
    private BigDecimal collectionCoverage;
}
